//src/Bind.vue
<template>
<div id="bind-attribute">
  <div v-bind:title="messageA">
    v-bind全写
  </div>
  <div :title='messageB'>
    v-bind简写
  </div>
</div>
</template>

<script lang="ts">
export default {
    name: 'AttributeBinding',
    data() {
        return {
          	messageA: "我是v-bind全写时的title",
            messageB: "我是v-bind简写时的title"
        }
    }
}
</script>